<?php
include $this->Render('header.php');
?>
<link rel="stylesheet" type="text/css" href="<?php echo BASE_STYLE;?>/css/admin.css" />
<script type="text/javascript" src="<?php echo BASE_STYLE;?>/js/dyhl.linkpage.js"></script>
<script type="text/javascript" src="<?php echo BASE_STYLE;?>/js/common.js"></script>

<style type="text/css">
.line-bot {
	border:1px solid #a8a8a8;
}

.order-item-box {
	width:100%;
	height:auto;
	overflow:hidden;
	border-bottom:1px solid #a8a8a8;
	padding-bottom:15px;
	margin-bottom:15px;
}

.order-item-box input[type="text"],.order-item-box select {
	background:none;
}
.title-0{
    font-weight:bold;width:98px;float:left;text-align:right;
}

</style>
<style type="text/css">
.admin-search-box {
	padding:15px;
}
</style>
<script type="text/javascript" src="<?php echo BASE_STYLE;?>/js/order_revoinfo.js"></script>
<!--S 公共顶部-->
<div id="page-north">
    <?php
		include $this->Render('nav.php');
		include $this->Render('sub_nav.php');
	?>
    
</div>
<!--E 公共顶部 -->
<div class="daish-box" style="height:90%; overflow-y:scroll;overflow-x:hidden; box-sizing:border-box; padding: 15px 25px; width:auto; margin:0;">
<form action="/order/revoaudit/option/save/" method="post" name="form1" class="J-ajaxForm" id="form1">
    <div class="daish-jbzl-box" style="border:0;">
        <fieldset style="border:1px solid #a8a8a8; padding:10px 15px;">         <legend style="padding:5px 15px;"><h2>征信结果</h2></legend>
            <table width="100%" cellpadding="0" cellspacing="0" border="0">
                <tr>
                    <td height="30px"><div class='title-0'>征信对象：</div><?php echo $this->order['base']['buyer']['ct_name'];?>(购车人)</td>
                </tr>
                <tr>
                    <td height="35px"><div class='title-0'>征信结果：</div> <span style="color:#5A96CC;font-size:14px"><?php echo $this->order['buyer']['ct_remark'];?>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php echo date('Y-m-d H:i:s',$this->order['buyer']['ct_querytime']);?></span></td>
                </tr>
                <?php if(!empty($this->order['buyer']['ct_previous_remark'])){?>
                <tr>
                    <td height="35px"><div class='title-0'>上次征信结果：</div> <span style="color:#5A96CC;font-size:14px"><?php echo $this->order['buyer']['ct_previous_remark'];?>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php echo date('Y-m-d H:i:s',$this->order['buyer']['ct_previous_querytime']);?></span></td>
                </tr>
                <?php }?>
                <?php if(!empty($this->sign['own_1009ctime']) && !empty($this->sign['own_1009source']) && !empty($this->sign['own_1009result'])){?>
                <tr>
                    <td height="35px"><div class='title-0'>不良记录结果：</div> <span style="color:#5A96CC;font-size:14px">于<?php echo date('Y-m-d H:i:s',$this->sign['own_1009ctime']);?>在<?php echo $this->sign['own_1009source'];?>进行查询,结果为：<?php echo $this->sign['own_1009result'];?></span></td>
                </tr>
                <?php } ?>
                <?php if(!empty($this->order['spouse'])){?>
                <tr>
                    <td height="30px"><div class='title-0'>征信对象：</div><?php echo $this->order['spouse']['ct_name'];?>(配偶)</td>
                </tr>
                <tr>
                    <td height="35px"><div class='title-0'>征信结果：</div> <span style="color:#5A96CC;font-size:14px"><?php echo $this->order['spouse']['ct_remark'];?>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php echo date('Y-m-d H:i:s',$this->order['spouse']['ct_querytime']);?></span></td>
                </tr>
                <?php if(!empty($this->order['spouse']['ct_previous_remark'])){?>
                <tr>
                    <td height="35px"><div class='title-0'>上次征信结果：</div> <span style="color:#5A96CC;font-size:14px"><?php echo $this->order['spouse']['ct_previous_remark'];?>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php echo date('Y-m-d H:i:s',$this->order['spouse']['ct_previous_querytime']);?></span></td>
                </tr>
                <?php }?>
                <?php if(!empty($this->sign['spouse_1009ctime']) && !empty($this->sign['spouse_1009source']) && !empty($this->sign['spouse_1009result'])){?>
                <tr>
                    <td height="35px"><div class='title-0'>不良记录结果：</div> <span style="color:#5A96CC;font-size:14px">于<?php echo date('Y-m-d H:i:s',$this->sign['spouse_1009ctime']);?>在<?php echo $this->sign['spouse_1009source'];?>进行查询,结果为：<?php echo $this->sign['spouse_1009result'];?></span></td>
                </tr>
                <?php
            }
                }
                 $a =0;
                ?>
                <?php
                    if(!empty($this->order['guarantor'])) foreach($this->order['guarantor'] as $key => $val){
                ?>
                <tr>
                    <td height="30px"><div class='title-0'>征信对象：</div><?php echo $val['ct_name'];?>(担保人)</td>
                </tr>
                <tr>
                    <td height="35px"><div class='title-0'>征信结果：</div> <span style="color:#5A96CC;font-size:14px"><?php echo $val['ct_remark'];?>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php echo date('Y-m-d H:i:s',$val['ct_querytime']);?></span></td>
                </tr>
                <?php if(!empty($val['ct_previous_remark'])){?>
                <tr>
                    <td height="35px"><div class='title-0'>上次征信结果：</div> <span style="color:#5A96CC;font-size:14px"><?php echo $val['ct_previous_remark'];?>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php echo date('Y-m-d H:i:s',$val['ct_previous_querytime']);?></span></td>
                </tr>
                <?php }?>
                <?php if(!empty($this->sign[$a]['guarantor_1009ctime']) && !empty($this->sign[$a]['guarantor_1009source']) && !empty($this->sign[$a]['guarantor_1009result'])){?>
                <tr>
                    <td height="35px"><div class='title-0'>不良记录结果：</div> <span style="color:#5A96CC;font-size:14px">于<?php echo date('Y-m-d H:i:s',$this->sign[$a]['guarantor_1009ctime']);?>在<?php echo $this->sign[$a]['guarantor_1009source'];?>进行查询,结果为：<?php echo $this->sign[$a]['guarantor_1009result'];?></span></td>
                </tr>
                <?php $a++;?>
                <?php
                    }
                }
                ?>

            </table>
       </fieldset>
    </div>

<div class="daish-box" style="height:90%; overflow-y:scroll;overflow-x:hidden; box-sizing:border-box; padding: 15px 25px; width:auto; margin:0;">
<form action="/order/revoaudit/option/save/" method="post" name="form1" class="J-ajaxForm" id="form1">
    <div class="daish-jbzl-box" style="border:0;">
    	<fieldset style="border:1px solid #a8a8a8; padding:10px 15px;">
        	<legend style="padding:5px 15px;"><h2>基本信息</h2></legend>
            <table width="100%" cellpadding="0" cellspacing="0" border="0">
                <tr>
                    <td width="280" height="30px"><em style="font-weight:bold;">客户编号：</em><br /><a href='\\192.168.99.7\credit\<?php echo $this->order['base']['o_number'];?>' target='_blank'>\\192.168.99.7\credit\<?php echo $this->order['base']['o_number'];?></a></td>
                    <td width="328"><em style="font-weight:bold;">业务来源人：</em><?php echo $this->order['base']['o_uname'];?></td>
                </tr>
                <tr>
                    <td height="30px"><em style="font-weight:bold;">签约经销商：</em><?php echo $this->order['base']['o_buyer_type'];?></td>
                    <td><em style="font-weight:bold;">经销商：</em><?php echo $this->order['base']['o_buyer'];?></td>
                </tr>
            </table>
       	</fieldset>
    </div>
    
    <div class="daish-jbzl-box" style="border:0;">
    	<fieldset style="border:1px solid #a8a8a8; padding:10px 15px;">
        	<legend style="padding:5px 15px;"><h2>购车人信息</h2></legend>
            <table width="100%" cellpadding="0" cellspacing="0" border="0">
                <tr>
                    <td width="33%" height="30px"><em style="font-weight:bold;">购车人姓名：</em><?php echo $this->order['base']['buyer']['ct_name'];?></td>
                    <td width="33%" height="30px"><em style="font-weight:bold;">性别：</em><?php echo $this->order['base']['buyer']['ct_sex'];?></td>
                    <td height="30px"><em style="font-weight:bold;">身份证号：</em><?php echo $this->order['base']['buyer']['ct_code'];?></td>
                </tr>
                <tr>
                    <td width="33%" height="30px"><em style="font-weight:bold;">身份证归属地：</em><?php echo $this->order['base']['buyer']['ct_idaddress'];?></td>
                    <td width="33%" height="30px"><em style="font-weight:bold;">户籍：</em><?php echo $this->order['owner']['ot_residence_pro'];?><?php echo $this->order['owner']['ot_residence_city'];?><?php echo $this->order['owner']['ot_residence_area'];?></td>
                    <td height="30px"><em style="font-weight:bold;">学历：</em><?php echo $this->order['owner']['ot_edu'];?></td>
                </tr>
                <tr>
                    <td width="33%" height="30px"><em style="font-weight:bold;">手机号：</em><?php echo $this->order['owner']['ot_mobile'];?></td>
                    <td width="33%" height="30px"><em style="font-weight:bold;">婚否：</em><?php echo $this->order['owner']['ot_married'];?></td>
                    <td height="30px"><em style="font-weight:bold;">银行卡号：</em><?php echo $this->order['owner']['ot_bankcard'];?></td>
                </tr>
                <tr>
                    <td width="33%" height="30px"><em style="font-weight:bold;">手机号：</em><?php echo $this->order['owner']['ot_mobile'];?></td>
                    <td width="33%" height="30px"><em style="font-weight:bold;">婚否：</em><?php echo $this->order['owner']['ot_married'];?></td>
                    <td height="30px"><em style="font-weight:bold;">银行卡号：</em><?php echo $this->order['owner']['ot_bankcard'];?></td>
                </tr>
                <tr>
                    <td width="33%" height="30px"><em style="font-weight:bold;">邮寄地址：</em><?php echo $this->order['owner']['ot_liveadd'];?></td>
                    <td width="33%" height="30px"><em style="font-weight:bold;">固定电话：</em><?php echo $this->order['owner']['ot_tel'];?></td>
                    <td height="30px"><em style="font-weight:bold;">实际家庭地址：</em><?php echo $this->order['owner']['ot_home_add'];?></td>
                </tr>
                <tr>
                    <td width="33%" height="30px"><em style="font-weight:bold;">房产地址：</em><?php echo $this->order['owner']['ot_house_add'];?></td>
                    <td width="33%" height="30px"><em style="font-weight:bold;">房产所有权人：</em><?php echo $this->order['owner']['ot_house_owner'];?></td>
                    <td height="30px"><em style="font-weight:bold;">与购车人关系：</em><?php echo $this->order['owner']['ot_hown_relation'];?></td>
                </tr>
                <tr>
                    <td width="33%" height="30px"><em style="font-weight:bold;">房产性质：</em><?php echo $this->order['owner']['ot_house_nature'];?></td>
                    <td width="33%" height="30px"><em style="font-weight:bold;">房屋面积 ：</em><?php echo $this->order['owner']['ot_house_acreage'];?> 平方米</td>
                    <td height="30px"><em style="font-weight:bold;">目前市价：</em><?php echo $this->order['owner']['ot_house_price'];?>万元</td>
                </tr>
                <tr>
                    <td width="33%" height="30px"><em style="font-weight:bold;">房贷金额：</em> <?php echo $this->order['owner']['ot_house_loan'];?>万元</td>
                    <td width="33%" height="30px"><em style="font-weight:bold;">年限 ：</em><?php echo $this->order['owner']['ot_house_loyear'];?>月</td>
                    <td height="30px"><em style="font-weight:bold;">月还款：</em><?php echo $this->order['owner']['ot_house_refundmo'];?>元</td>
                </tr>
                <tr>
                    <td width="33%" height="30px"><em style="font-weight:bold;">公司名：</em><?php echo $this->order['owner']['ot_company'];?></td>
                    <td width="33%" height="30px"><em style="font-weight:bold;">单位地址：</em><?php echo $this->order['owner']['ot_company_add'];?></td>
                    <td height="30px"><em style="font-weight:bold;">单位电话：</em><?php echo $this->order['owner']['ot_company_tel'];?></td>
                </tr>
                <tr>
                    <td width="33%" height="30px"><em style="font-weight:bold;">单位类型：</em><?php echo $this->order['owner']['ot_company_type'];?></td>
                    <td width="33%" height="30px"><em style="font-weight:bold;">职务类型：</em><?php echo $this->order['owner']['ot_duty_type'];?></td>
                    <td height="30px"><em style="font-weight:bold;">职务：</em><?php echo $this->order['owner']['ot_duty'];?></td>
                </tr>
                <tr>
                    <td width="33%" height="30px"><em style="font-weight:bold;">经营期限：</em><?php echo $this->order['owner']['ot_operat_period'];?></td>
                    <td width="33%" height="30px"><em style="font-weight:bold;">工龄：</em><?php echo $this->order['owner']['ot_seniority'];?></td>
                    <td height="30px"><em style="font-weight:bold;">所占股份：</em><?php echo $this->order['owner']['ot_stake'];?>％</td>
                </tr>
                <tr>
                    <td width="33%" height="30px"><em style="font-weight:bold;">月收入：</em> <?php echo $this->order['owner']['ot_income_month'];?> 元</td>
                    <td width="33%" height="30px"></td>
                    <td height="30px"></td>
                </tr>
            </table>
         </fieldset>
    </div>

    <div class="daish-jbzl-box" style="border:0;">
    	<fieldset style="border:1px solid #a8a8a8; padding:10px 15px;">
        	<legend style="padding:5px 15px;"><h2>紧急联系人</h2></legend>
            <table width="100%" cellpadding="0" cellspacing="0" border="0">
                <?php 
                    if(!empty($this->order['owner']['ot_contact'])) foreach($this->order['owner']['ot_contact'] as $k => $v){
                ?>
                <tr>
                    <td width="150" height="30px"><em style="font-weight:bold;">姓名：</em><?php echo $v['name'];?></td>
                    <td width="300"><em style="font-weight:bold;">手机号：</em><?php echo $v['mobile'];?></td>
                    <td><em style="font-weight:bold;">关系：</em><?php echo $v['relation'];?></td>
                </tr>
                <?php
                    }
                ?>
                <tr>
                    <td height="30px"><em style="font-weight:bold;">备注：</em><?php echo $this->order['owner']['ot_remark'];?></td>
                    <td></td>
                    <td></td>
                </tr>
            </table>
        </fieldset>
    </div>
    <?php if(!empty($this->order['spouse'])){?>
    <div class="daish-jbzl-box" style="border:0;">
    	<fieldset style="border:1px solid #a8a8a8; padding:10px 15px;">
        	<legend style="padding:5px 15px;"><h2>配偶信息</h2></legend>
            <table width="100%" cellpadding="0" cellspacing="0" border="0">
                <tr>
                    <td width="33%" height="30px"><em style="font-weight:bold;">配偶姓名：</em><?php echo $this->order['spouse']['ct_name'];?></td>
                    <td width="33%" height="30px"><em style="font-weight:bold;">性别：</em><?php echo $this->order['spouse']['ct_sex'];?></td>
                    <td height="30px"><em style="font-weight:bold;">身份证号：</em><?php echo $this->order['spouse']['ct_code'];?></td>
                </tr>
                <tr>
                    <td width="33%" height="30px"><em style="font-weight:bold;">身份证归属地：</em><?php echo $this->order['spouse']['ct_idaddress'];?></td>
                    <td width="33%" height="30px"><em style="font-weight:bold;">户籍：</em><?php echo $this->order['spouse']['ct_detail']['ct_spouse_province'];?><?php echo $this->order['spouse']['ct_detail']['ct_spouse_city'];?><?php echo $this->order['spouse']['ct_detail']['ct_spouse_area'];?></td>
                    <td height="30px"><em style="font-weight:bold;">学历：</em><?php echo $this->order['spouse']['ct_detail']['ct_spouse_degree'];?></td>
                </tr>
                <tr>
                    <td width="33%" height="30px"><em style="font-weight:bold;">手机号：</em><?php echo $this->order['spouse']['ct_detail']['ct_spouse_mobile'];?></td>
                    <td width="33%" height="30px"><em style="font-weight:bold;">邮寄地址：</em><?php echo $this->order['spouse']['ct_detail']['ct_spouse_liveadd'];?></td>
                    <td height="30px"><em style="font-weight:bold;">固定电话：</em><?php echo $this->order['spouse']['ct_detail']['ct_spouse_tel'];?></td>
                </tr>
                <tr>
                    <td width="33%" height="30px"><em style="font-weight:bold;">公司名：</em><?php echo $this->order['spouse']['ct_detail']['ct_spouse_company'];?></td>
                    <td width="33%" height="30px"><em style="font-weight:bold;">单位地址：</em><?php echo $this->order['spouse']['ct_detail']['ct_spouse_cadd'];?></td>
                    <td height="30px"><em style="font-weight:bold;">单位电话：</em><?php echo $this->order['spouse']['ct_detail']['ct_spouse_ctel'];?></td>
                </tr>
                <tr>
                    <td width="33%" height="30px"><em style="font-weight:bold;">单位类型：</em><?php echo $this->order['spouse']['ct_detail']['ct_spouse_ctype'];?></td>
                    <td width="33%" height="30px"><em style="font-weight:bold;">职务：</em><?php echo $this->order['spouse']['ct_detail']['ct_spouse_duty'];?></td>
                    <td height="30px"><em style="font-weight:bold;">经营期限：</em><?php echo $this->order['spouse']['ct_detail']['ct_spouse_operatpd'];?></td>
                </tr>
                <tr>
                    <td width="33%" height="30px"><em style="font-weight:bold;">月收入：</em> <?php echo $this->order['spouse']['ct_detail']['ct_spouse_mincome'];?> 元</td>
                    <td width="33%" height="30px"><em style="font-weight:bold;">备注：</em><?php echo trim($this->order['spouse']['ct_detail']['ct_spouse_remark']);?></td>
                    <td height="30px"></td>
                </tr>
            </table>
        </fieldset>
    </div>
    <?php
	}
	?>
    <?php
    	if(!empty($this->order['guarantor'])) foreach($this->order['guarantor'] as $key => $val){
	?>
    <div class="daish-jbzl-box" style="border:0;">
    	<fieldset style="border:1px solid #a8a8a8; padding:10px 15px;">
        	<legend style="padding:5px 15px;"><h2>担保人信息(<?php echo $val['ct_guarantor_type']?>)</h2></legend>
            <table width="100%" cellpadding="0" cellspacing="0" border="0">
                <tr>
                    <td width="33%" height="30px"><em style="font-weight:bold;">担保人姓名：</em><?php echo $val['ct_name'];?></td>
                    <td width="33%" height="30px"><em style="font-weight:bold;">性别：</em><?php echo $val['ct_sex'];?></td>
                    <td height="30px"><em style="font-weight:bold;">身份证号：</em><?php echo $val['ct_code'];?></td>
                </tr>
                <tr>
                    <td width="33%" height="30px"><em style="font-weight:bold;">身份证归属地：</em><?php echo $val['ct_idaddress'];?></td>
                    <td width="33%" height="30px"><em style="font-weight:bold;">户籍：</em><?php echo $val['ct_detail']['ct_guarantor_province'];?><?php echo $val['ct_detail']['ct_guarantor_city'];?><?php echo $val['ct_detail']['ct_guarantor_area'];?></td>
                    <td height="30px"><em style="font-weight:bold;">学历：</em><?php echo $val['ct_detail']['ct_guarantor_degree'];?></td>
                </tr>
                <tr>
                    <td width="33%" height="30px"><em style="font-weight:bold;">手机号：</em><?php echo $val['ct_detail']['ct_guarantor_mobile'];?></td>
                    <td width="33%" height="30px"><em style="font-weight:bold;">邮寄地址：</em><?php echo $val['ct_detail']['ct_guarantor_liveadd'];?></td>
                    <td height="30px"><em style="font-weight:bold;">固定电话：</em><?php echo $val['ct_detail']['ct_guarantor_tel'];?></td>
                </tr>
                <tr>
                    <td width="33%" height="30px"><em style="font-weight:bold;">实际家庭地址：</em><?php echo $val['ct_detail']['ct_guarantor_hadd'];?></td>
                    <td width="33%" height="30px"><em style="font-weight:bold;">房产地址：</em><?php echo $val['ct_detail']['ct_guarantor_headd'];?></td>
                    <td height="30px"><em style="font-weight:bold;">房产所有权人：</em><?php echo $val['ct_detail']['ct_guarantor_howner'];?></td>
                </tr>
                <tr>
                    <td width="33%" height="30px"><em style="font-weight:bold;">与购车人关系：</em><?php echo $val['ct_detail']['ct_guarantor_hrelation'];?></td>
                    <td width="33%" height="30px"><em style="font-weight:bold;">房产性质：</em><?php echo $val['ct_detail']['ct_guarantor_hnature'];?></td>
                    <td height="30px"><em style="font-weight:bold;">房屋面积：</em><?php echo $val['ct_detail']['ct_guarantor_hacreage'];?></td>
                </tr>
                <tr>
                    <td width="33%" height="30px"><em style="font-weight:bold;">目前市价：</em><?php echo $val['ct_detail']['ct_guarantor_hprice'];?></td>
                    <td width="33%" height="30px"><em style="font-weight:bold;">房贷金额：</em><?php echo $val['ct_detail']['ct_guarantor_hloan'];?></td>
                    <td height="30px"><em style="font-weight:bold;">年限：</em><?php echo $val['ct_detail']['ct_guarantor_hloyear'];?></td>
                </tr>
                <tr>
                    <td width="33%" height="30px"><em style="font-weight:bold;">月还款：</em><?php echo $val['ct_detail']['ct_guarantor_hrefundmo'];?></td>
                    <td width="33%" height="30px"><em style="font-weight:bold;">公司名：</em><?php echo $val['ct_detail']['ct_guarantor_company'];?></td>
                    <td height="30px"><em style="font-weight:bold;">单位地址：</em><?php echo $val['ct_detail']['ct_guarantor_cadd'];?></td>
                </tr>
                <tr>
                    <td width="33%" height="30px"><em style="font-weight:bold;">单位电话：</em><?php echo $val['ct_detail']['ct_guarantor_ctel'];?></td>
                    <td width="33%" height="30px"><em style="font-weight:bold;">单位类型：</em><?php echo $val['ct_detail']['ct_guarantor_ctype'];?></td>
                    <td height="30px"><em style="font-weight:bold;">职务类型：</em><?php echo $val['ct_detail']['ct_guarantor_dutytp'];?></td>
                </tr>
                <tr>
                    <td width="33%" height="30px"><em style="font-weight:bold;">职务：</em><?php echo $val['ct_detail']['ct_guarantor_duty'];?></td>
                    <td width="33%" height="30px"><em style="font-weight:bold;">经营期限：</em><?php echo $val['ct_detail']['ct_guarantor_operatpd'];?></td>
                    <td height="30px"><em style="font-weight:bold;">工龄：</em><?php echo $val['ct_detail']['ct_guarantor_seniority'];?></td>
                </tr>
                <tr>
                    <td width="33%" height="30px"><em style="font-weight:bold;">所占股份：</em><?php echo $val['ct_detail']['ct_guarantor_stake'];?>%</td>
                    <td width="33%" height="30px"><em style="font-weight:bold;">月收入：</em> <?php echo $val['ct_detail']['ct_guarantor_mincome'];?> 元</td>
                    <td height="30px"><em style="font-weight:bold;">备注：</em><?php echo $val['ct_detail']['ct_guarantor_remark'];?></td>
                </tr>
            </table>
        </fieldset>
    </div>
    <?php
		}
	?>
   <div class="daish-jbzl-box" style="border:0;">
   		<fieldset style="border:1px solid #a8a8a8; padding:10px 15px;">
        	<legend style="padding:5px 15px;"><h2>车辆信息</h2></legend>
            <table width="100%" cellpadding="0" cellspacing="0" border="0">
           		<tr>
                    <td height="30px" width="31%" colspan="2">
                        <em style="font-weight:bold;">车辆类型：</em><?php echo $this->order['car']['ot_car_type'];?>&nbsp;&nbsp;<?php echo $this->order['car']['ot_car_model'];?>&nbsp;&nbsp;<?php echo $this->order['car']['ot_car_fullmodel'];?>&nbsp;&nbsp;<?php echo $this->order['car']['ot_car_seating'].'座';?>
                    </td>
                    <td width="23%">
                        <em style="font-weight:bold;">车型构成：</em><?php echo $this->order['car']['ot_car_pose'];?>
                    </td>
                    <td width="23%">
                        <span class="<?php echo $this->order['car']['ot_car_pose'] == '二手车' ? '' : 'fn-hide';?> J-ot-sinocap">
                            <em style="font-weight:bold;">评&nbsp;&nbsp;估&nbsp;价：</em><?php echo $this->order['car']['ot_assessment'];?>
                        </span>
                    </td>
                </tr>
                
                <tr>
                    <td height="30px" width="31%">
                        <em style="font-weight:bold;">上&nbsp;&nbsp;牌&nbsp;地：</em><?php echo $this->order['car']['ot_reg_province'];?><?php echo $this->order['car']['ot_reg_city'];?><?php echo $this->order['car']['ot_reg_area'];?>
                    </td>
                    <td width="23%">
                        <em style="font-weight:bold;">是否公牌：</em>
                        <?php echo $this->order['car']['ot_pubbrand'];?>              
                    </td>
                    <td width="23%">
                        <em style="font-weight:bold;">行驶证车主：</em><?php echo $this->order['car']['ot_car_owners'];?>
                    </td>
                    <td width="23%">
                        <em style="font-weight:bold;">产品编号：</em><?php echo $this->order['car']['ot_bankrt_code'];?>
                    </td>
                </tr>
                <tr>
                    <td height="30px" width="31%">
                        <em style="font-weight:bold;">贷款银行：</em><?php echo $this->order['base']['o_bank'];?>
                    </td>
                    <td width="23%">
                        <em style="font-weight:bold;">贷款年限：</em>
                        <?php echo $this->order['car']['ot_loan_year'];?>
                    </td>
                    <td width="23%">
                        <em style="font-weight:bold;">产品类型：</em><?php echo $this->order['car']['ot_loan_type'];?>
                    </td>
                    <td width="23%">
                        <em style="font-weight:bold;">银行利率：</em><?php echo $this->order['car']['ot_calculated']['bank_rate'] * 100;?>%
                    </td>
                </tr>
                
                <tr>
                    <td height="30px" width="31%">
                        <em style="font-weight:bold;">车　　价：</em><?php echo $this->order['car']['ot_car_price'];?>
                    </td>
                    <td width="23%">
                        <?php if($this->order['base']['o_bank']=='中国农业银行股份有限公司萧山分行'){?>
                        <em style="font-weight:bold;">其他费用：</em>
                        <?php echo $this->order['car']['ot_car_oprice'];?>元<?php }else{?>
                        <em style="font-weight:bold;">贷&nbsp;&nbsp;款&nbsp;额：</em>
                        <?php echo $this->order['car']['ot_loan_limit'];?>元
                        <?php }?>
                    </td>
                    <td width="23%">
                        <?php if($this->order['base']['o_bank']=='中国农业银行股份有限公司萧山分行'){?>
                        <em style="font-weight:bold;">贷&nbsp;&nbsp;款&nbsp;额：</em>
                        <?php echo $this->order['car']['ot_loan_limit'];?>元
						<?php }else{?>					
                        <em style="font-weight:bold;">公司费率：</em>
                        <?php echo $this->order['car']['ot_loan_rate'];?>%
                        <?php }?>
                    </td>
                    <td width="23%">
                        <?php if($this->order['base']['o_bank']=='（2017）中国工商银行股份有限公司杭州延中支行'){?>
                        <em style="font-weight:bold;">服务费率:</em>
                        <?php echo $this->order['car']['ot_service_rate'];?>%
                        <?php }else if($this->order['base']['o_bank']=='中国农业银行股份有限公司萧山分行'){?>
                        <em style="font-weight:bold;">公司费率：</em>
                        <?php echo $this->order['car']['ot_loan_rate'];?>%
                        <?php }?>
                    </td>
                </tr>
                
                <tr>
                    <td height="30px" width="31%">
                        <em style="font-weight:bold;">实际首付款（元）：</em>
                        <span><?php echo $this->order['car']['ot_calculated']['d_payment'];?></span>
                    </td>
                    <td width="23%">
                        <em style="font-weight:bold;">实际贷款比例（％）：</em>
                        <span><?php echo $this->order['car']['ot_calculated']['d_loan_per'];?></span>
                    </td>
                    <td width="23%">
                        <em style="font-weight:bold;">分期手续费（元）：</em>
                        <span><?php echo $this->order['car']['ot_calculated']['d_aging_poundage'];?></span>
                    </td>
                    <td width="23%">
                        <?php if($this->order['base']['o_bank']=='（2017）中国工商银行股份有限公司杭州延中支行'){?>
                            <em style="font-weight:bold;">金融服务费（元）：</em>
                            <span class="J-d-service-money"><?php echo $this->order['car']['ot_calculated']['d_service_money'];?></span>
                        <?php }?>
                    </td>
                </tr>
                <tr>
                    <td height="35px">
                        <em style="font-weight:bold;">分期付款总额（元）：</em>
                        <span class="J-d-aging-money"><?php echo $this->order['car']['ot_calculated']['d_aging_money'];?></span>
                        
                    </td>
                    <td>
                        <em style="font-weight:bold;">分期付款比例（％）：</em>
                        <span class="J-d-aging-per"><?php echo $this->order['car']['ot_calculated']['d_aging_per'];?></span>
                        
                    </td>
                    <td>
                    </td>
                    <td>
                    <?php if($this->order['base']['o_bank']=='（2017）中国工商银行股份有限公司杭州延中支行'){?>
                        <em style="font-weight:bold;">金融服务费比例（％）：</em>
                        <span class="J-d-service-per"><?php echo $this->order['car']['ot_calculated']['d_service_per'];?></span>
                        
                    <?php }?>
                    </td>
                </tr> 
                <tr>
                    <td height="35px">
                        <em style="font-weight:bold;">申请分期付款总额（元）：</em>
                        <span class="J-d-signag-money"><?php echo $this->order['car']['ot_calculated']['d_signag_money'];?></span>
                        
                    </td>
                    <td>
                        <em style="font-weight:bold;">申请分期付款比例（％）：</em>
                        <span class="J-d-aging-moneyper"><?php echo $this->order['car']['ot_calculated']['d_aging_moneyper'];?></span>
                        
                    </td>
                    <td>
                        <em style="font-weight:bold;">首期还款额（元）：</em>
                        <span class="J-d-refund-1month"><?php echo $this->order['car']['ot_calculated']['d_refund_1month'];?></span>
                        
                    </td>
                    <td>
                        <em style="font-weight:bold;">月还款额（元）：</em>
                        <span class="J-d-refund-month"><?php echo $this->order['car']['ot_calculated']['d_refund_month'];?></span>
                        
                    </td>
                </tr>
                <tr>
                    <td colspan="4" valign="top">
                        <em style="font-weight:bold;">备注：</em><span><?php echo $this->order['car']['ot_loan_remark'];?></span>
                    </td>
                </tr>
                
              
           </table>
        </fieldset>
    </div>

    <div class="daish-jbzl-box" style="border:0;">
    	<fieldset style="border:1px solid #a8a8a8; padding:10px 15px;">
        	<legend style="padding:5px 15px;"><h2>面签信息</h2><?php echo $this->order['base']['o_number'];?></legend>
            <dl class="daish-mqxx">
                <dt><em style="font-weight:bold;">证件照</em></dt>
                <dd id="J-box-order-cert">
                    <?php if(!empty($this->order['attachment']['oa_cert'])) foreach($this->order['attachment']['oa_cert'] as $k=>$v){?>
                    <div style="position:relative;display:inline-block; float:left;margin-right:10px;">
                        <?php if(Purview::checkPurview($this->UserConfig['Id'],array('crm','order','revodelimage'))){?>
                        <em class="ico-close J-ico-close" data-oid="<?php echo $this->order['base']['o_id'];?>" data-type="oa_cert" data-fname="<?php echo $v;?>"></em>
                        <?php }?>
                    <img data-original="<?php echo $this->order['attachment']['oa_cert_url'][$k];?>" class="example-image" src="<?php echo $this->order['attachment']['oa_cert_thurl'][$k];?>" width="80" height="80" />
                </div>
                    <?php
                    }
                    ?>
                    
                </dd>
            </dl>
            <dl class="daish-mqxx">
                <dt><em style="font-weight:bold;">资产类照片</em></dt>
                <dd id="J-box-order-assets">
                    <?php if(!empty($this->order['attachment']['oa_assets'])) foreach($this->order['attachment']['oa_assets'] as $k=>$v){?>
                    <div style="position:relative;display:inline-block; float:left;margin-right:10px;">
                        <?php if(Purview::checkPurview($this->UserConfig['Id'],array('crm','order','revodelimage'))){?>
                        <em class="ico-close J-ico-close" data-oid="<?php echo $this->order['base']['o_id'];?>" data-type="oa_assets" data-fname="<?php echo $v;?>"></em>
                        <?php }?>
                    <img data-original="<?php echo $this->order['attachment']['oa_assets_url'][$k];?>" class="example-image" src="<?php echo $this->order['attachment']['oa_assets_thurl'][$k];?>" width="80" height="80" />
                </div>
                    <?php
                    }
                    ?>
                    
                </dd>
            </dl>
            <dl class="daish-mqxx">
                <dt><em style="font-weight:bold;">家访照</em></dt>
                <dd id="J-box-order-family">
                    <?php if(!empty($this->order['attachment']['oa_family'])) foreach($this->order['attachment']['oa_family'] as $k=>$v){?>
                    <div style="position:relative;display:inline-block; float:left;margin-right:10px;">
                        <?php if(Purview::checkPurview($this->UserConfig['Id'],array('crm','order','revodelimage'))){?>
                        <em class="ico-close J-ico-close" data-oid="<?php echo $this->order['base']['o_id'];?>" data-type="oa_family" data-fname="<?php echo $v;?>"></em>
                        <?php }?>
                    <img data-original="<?php echo $this->order['attachment']['oa_family_url'][$k];?>" class="example-image" src="<?php echo $this->order['attachment']['oa_family_thurl'][$k];?>" width="80" height="80" />
                </div>
                    <?php
                    }
                    ?>
                    
                </dd>
            </dl>
            <dl class="daish-mqxx">
                <dt><em style="font-weight:bold;">签字照</em></dt>
                <dd id="J-box-order-sign">
                    <?php if(!empty($this->order['attachment']['oa_sign'])) foreach($this->order['attachment']['oa_sign'] as $k=>$v){?>
                    <div style="position:relative;display:inline-block; float:left;margin-right:10px;">
                        <?php if(Purview::checkPurview($this->UserConfig['Id'],array('crm','order','revodelimage'))){?>
                        <em class="ico-close J-ico-close" data-oid="<?php echo $this->order['base']['o_id'];?>" data-type="oa_sign" data-fname="<?php echo $v;?>"></em>
                        <?php }?>
                    <img data-original="<?php echo $this->order['attachment']['oa_sign_url'][$k];?>" class="example-image" src="<?php echo $this->order['attachment']['oa_sign_thurl'][$k];?>" width="80" height="80" />
                </div>
                    <?php
                    }
                    ?>
                </dd>
            </dl>
            <dl class="daish-mqxx">
                <dt><em style="font-weight:bold;">视频类</em></dt>
                <dd>
                    <?php if(!empty($this->order['attachment']['oa_video'])) foreach($this->order['attachment']['oa_video'] as $k=>$v){?>
                    <div style="position:relative;display:inline-block; float:left;margin-right:10px;">
                        <?php if(Purview::checkPurview($this->UserConfig['Id'],array('crm','order','revodelimage'))){?>
                        <em class="ico-close J-ico-close" data-oid="<?php echo $this->order['base']['o_id'];?>" data-type="oa_video" data-fname="<?php echo $v;?>"></em>
                        <?php }?>
                    <img class="J-video-obj" data-url="<?php echo $this->order['attachment']['oa_video_url'][$k];?>" src="<?php echo BASE_STYLE;?>/images/member/default_sildeshow.gif" width="80" height="80" />
                </div>
                    <?php
                    }
                    ?>
                </dd>
            </dl>
            
            <?php
                switch($this->order['base']['o_pre_mode']){
                    case 2:
            ?>
                        <dl class="daish-mqxx">
                            <dt><em style="font-weight:bold;">流水类</em></dt>
                            <dd id="J-box-order-flowing">
                                <?php if(!empty($this->order['attachment']['oa_flowing'])) foreach($this->order['attachment']['oa_flowing'] as $k=>$v){?>
                                <div style="position:relative;display:inline-block; float:left;margin-right:10px;">
                                    <?php if(Purview::checkPurview($this->UserConfig['Id'],array('crm','order','revodelimage'))){?>
                                    <em class="ico-close J-ico-close" data-oid="<?php echo $this->order['base']['o_id'];?>" data-type="oa_flowing" data-fname="<?php echo $v;?>"></em>
                                    <?php }?>
                                <img data-original="<?php echo $this->order['attachment']['oa_flowing_url'][$k];?>" class="example-image" src="<?php echo $this->order['attachment']['oa_flowing_thurl'][$k];?>" width="80" height="80" />
                            </div>
                                <?php
                                }
                                ?>
                            </dd>
                        </dl>
                        <dl class="daish-mqxx">
                            <dt><em style="font-weight:bold;">其他资料</em></dt>
                            <dd id="J-box-order-other">
                                <?php if(!empty($this->order['attachment']['oa_other'])) foreach($this->order['attachment']['oa_other'] as $k=>$v){?>
                                <div style="position:relative;display:inline-block; float:left;margin-right:10px;">
                                    <?php if(Purview::checkPurview($this->UserConfig['Id'],array('crm','order','revodelimage'))){?>
                                    <em class="ico-close J-ico-close" data-oid="<?php echo $this->order['base']['o_id'];?>" data-type="oa_other" data-fname="<?php echo $v;?>"></em>
                                    <?php }?>
                                <img data-original="<?php echo $this->order['attachment']['oa_other_url'][$k];?>" class="example-image" src="<?php echo $this->order['attachment']['oa_other_thurl'][$k];?>" width="80" height="80" />
                            </div>
                                <?php
                                }
                                ?>
                            </dd>
                        </dl>
            <?php
                        break;
                    case 3:	
            ?>
                        <dl class="daish-mqxx">
                            <dt><em style="font-weight:bold;">流水类</em></dt>
                            <dd id="J-box-order-flowing">
                                <?php if(!empty($this->order['attachment']['oa_flowing'])) foreach($this->order['attachment']['oa_flowing'] as $k=>$v){?>
                                <div style="position:relative;display:inline-block; float:left;margin-right:10px;">
                                    <?php if(Purview::checkPurview($this->UserConfig['Id'],array('crm','order','revodelimage'))){?>
                                    <em class="ico-close J-ico-close" data-oid="<?php echo $this->order['base']['o_id'];?>" data-type="oa_flowing" data-fname="<?php echo $v;?>"></em>
                                    <?php }?>
                                <img data-original="<?php echo $this->order['attachment']['oa_flowing_url'][$k];?>" class="example-image" src="<?php echo $this->order['attachment']['oa_flowing_thurl'][$k];?>" width="80" height="80" />
                            </div>
                                <?php
                                }
                                ?>
                            </dd>
                        </dl>
                        <dl class="daish-mqxx">
                            <dt><em style="font-weight:bold;">其他资料</em></dt>
                            <dd id="J-box-order-other">
                                <?php if(!empty($this->order['attachment']['oa_other'])) foreach($this->order['attachment']['oa_other'] as $k=>$v){?>
                                <div style="position:relative;display:inline-block; float:left;margin-right:10px;">
                                    <?php if(Purview::checkPurview($this->UserConfig['Id'],array('crm','order','revodelimage'))){?>
                                    <em class="ico-close J-ico-close" data-oid="<?php echo $this->order['base']['o_id'];?>" data-type="oa_other" data-fname="<?php echo $v;?>"></em>
                                    <?php }?>
                                <img data-original="<?php echo $this->order['attachment']['oa_other_url'][$k];?>"  class="example-image" src="<?php echo $this->order['attachment']['oa_other_thurl'][$k];?>" width="80" height="80" />
                            </div>
                                <?php
                                }
                                ?>
                            </dd>
                        </dl>
                        <dl class="daish-mqxx">
                            <dt><em style="font-weight:bold;">合同照</em></dt>
                            <dd id="J-box-order-contract">
                                <?php if(!empty($this->order['attachment']['oa_contract'])) foreach($this->order['attachment']['oa_contract'] as $k=>$v){?>
                                <div style="position:relative;display:inline-block; float:left;margin-right:10px;">
                        <?php if(Purview::checkPurview($this->UserConfig['Id'],array('crm','order','revodelimage'))){?>
                            <em class="ico-close J-ico-close" data-oid="<?php echo $this->order['base']['o_id'];?>" data-type="oa_contract" data-fname="<?php echo $v;?>"></em> 
                            <?php }  ?>
                               <img data-original="<?php echo $this->order['attachment']['oa_contract_url'][$k];?>" class="example-image" src="<?php echo $this->order['attachment']['oa_contract_thurl'][$k];?>" width="80" height="80" />
                            </div>
                                <?php
                                }
                                ?>
                            </dd>
                        </dl>
            <?php
                        break;
                }
            ?>
        </fieldset>
    </div>
    
    <div class="order-item-box" style="border:0;">
    	<fieldset style="border:1px solid #a8a8a8; padding:10px 15px;">
        	<legend style="padding:5px 15px;"><h2>初审意见</h2></legend>
            <table width="100%" cellpadding="0" cellspacing="0" border="0">
                <tr>
                    <td height="35px" width="73px">
                        初审结果：
                    </td>
                    <td>
                        <?php echo $this->order['audit_ok']['a_results'] == '通过' ? '可以办理' : '不予办理';?>
                    </td>
                </tr>
                <tr>
                    <td height="70px">
                        初审详情:
                    </td>
                    <td>
                        <?php echo $this->order['audit_ok']['a_details'];?>
                    </td>
                </tr>
                <tr>
                    <td height="70px">
                        初审备注:
                    </td>
                    <td>
                        <?php echo $this->order['audit_ok']['a_remarks'];?>
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        审 核 人：&nbsp;&nbsp;&nbsp;&nbsp;<?php echo $this->order['audit_ok']['a_uname'];?>&nbsp;&nbsp;&nbsp;&nbsp;
                        审核时间：
                        <?php echo $this->order['audit_ok']['a_dateline'];?>
                    </td>
                </tr>
                
    
            </table>
        </fieldset>
    </div>
    
    <div class="order-item-box" style=" border:0;">
    	<fieldset style="border:1px solid #a8a8a8; padding:10px 15px;">
        	<legend style="padding:5px 15px;"><h2>手机排查</h2></legend>
            <table width="100%" cellpadding="0" cellspacing="0" border="0">
                <tr>
                    <td width="73px">排查结果：</td>
                    <td>无号码重号</td>
                </tr>
            </table>
        </fieldset>
    </div>
    
    <div class="order-item-box" style="border:0;">
    	<fieldset style="border:1px solid #a8a8a8; padding:10px 15px;">
        	<legend style="padding:5px 15px;"><h2>审核员终审</h2></legend>
            <table width="100%" cellpadding="0" cellspacing="0" border="0">
                <tr>
                    <td height="35px" width="73px">
                        审核类型：
                    </td>
                    <td>
                        <?php echo $this->order['final_ok']['a_type'];?>
                    </td>
                </tr>
                <tr>
                    <td>
                        审核结果：
                    </td>
                    <td>
                        <?php echo $this->order['final_ok']['a_results'];?>
                    </td>   
                </tr>

                <tr>
                    <td height="70px" colspan="2">
                        <label>
                            网点承担风险比例(％)：<?php echo $this->order['base']['o_web_risk'];?>
                        </label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        <label>
                            未出险返点(％)：<?php echo $this->order['base']['o_rebate_per'];?>
                        </label>
                    </td>
                </tr>
                <tr>
                    <td height="70px">
                        终审意见:
                    </td>
                    <td>
                        <?php echo $this->order['final_ok']['a_details'];?>
                    </td>
                </tr>
                <tr>
                    <td height="70px">
                        终审备注:
                    </td>
                    <td>
                        <?php echo $this->order['final_ok']['a_remarks'];?>
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        审 核 人：&nbsp;&nbsp;&nbsp;&nbsp;<?php echo $this->order['final_ok']['a_uname'];?>
                        &nbsp;&nbsp;&nbsp;&nbsp;
                        审核时间：<?php echo $this->order['final_ok']['a_dateline'];?>
                    </td>
                </tr>
    
            </table>
        </fieldset>
    </div>
    
    
    <div class="order-item-box" style="border:0;">
    	<fieldset style="border:1px solid #a8a8a8; padding:10px 15px;">
        	<legend style="padding:5px 15px;"><h2>审核级资料复合</h2></legend>
            <table width="100%" cellpadding="0" cellspacing="0" border="0">
                <tr>
                    <td height="70px">
                        资料复合备注:
                    </td>
                    <td>
                        <textarea name="a_remarks" style="width:550px; height:55px; background:none; resize:none; vertical-align:text-top;"><?php echo $this->order['audit_msg']['a_remarks'];?></textarea>
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        审 核 人：&nbsp;&nbsp;&nbsp;&nbsp;
                        <input type="text" value="<?php echo $this->member_info['u_realname'];?>" name="a_uname" readonly />&nbsp;&nbsp;&nbsp;&nbsp;
                        审核时间：
                        <input type="text" value="<?php echo date('Y-m-d',time());?>" name="a_dateline" readonly />
                    </td>
                </tr>
    
            </table>
         </fieldset>
    </div>
    
    
    
    <div class="luru-box-btn mt30" style="position:fixed; bottom:0; width:100%; left:0; background:#FFF; text-align:right; padding:10px 20px; box-sizing:border-box; -webkit-box-sizing:border-box; -moz-box-sizing:border-box;">
    	<input type="hidden" name="oid" value="<?php echo $this->order['base']['o_id'];?>" />
        <input type="hidden" name="savetype" value="draft" />
        <?php
                if(Purview::checkPurview($this->UserConfig['Id'],array('crm','order','revoback'))){
        ?>
        <a href="javascript:;" class="a-btn-close J-tuihui fn-right mr15">订单退回</a>
        <?php }?>
        <?php
                if(Purview::checkPurview($this->UserConfig['Id'],array('crm','order','faodetail'))){
        ?>
        <a href="javascript:;" class="a-btn-close J-qianchu fn-right mr15">终审签出</a>
        <?php }?>
    	<input type="submit" class="a-btn-close mr15 J-a-submit" value="未通过保存" />
        <input type="submit" class="a-btn-close mr15 J-a-btn-submit" value="通过保存" />
    </div>
</form>   
</div>

<style type="text/css">
	.mianqianxinxi-box {
		height:auto;
		overflow:hidden;
		margin-top:15px;
	}
	
	.mianqianxinxi-box dt {
		margin-bottom:10px;
	}
	.mianqianxinxi-box dd {
		float:left;
	}
	
	.mianqianxinxi-pic-list {
		margin-right:10px;
	}
	
	.mianqianxinxi-pic-list img {
		margin-right:10px;
	}
	
	
</style>
<script type="text/javascript">
    $(document).ready(function(e) {
    //删除上传的图片
    $(".daish-jbzl-box").on('click','.J-ico-close',function(){
        var $this = $(this);
        var oid = $(this).data('oid'),
            type = $(this).data('type'),
            fname =$(this).data('fname');
                    
        Ext.Msg.confirm('提示','您确定要删除此图片吗?',function(btn){
            if(btn=='yes'){
                $.post('/order/faoaudit/option/attach_remove',{'oid':oid,'type':type,'fname':fname},function(data){
                    if(data['success']){
                        $this.closest('div').remove();
                    }else{
                        Ext.Msg.alert('提示','删除失败！');        
                    }
                },'json');  
            }
        });
        
    }); 
});

var viewerCert = new Viewer(document.getElementById('J-box-order-cert'),{
    url:"data-original",
    show:function(){
        viewerCert.update();    
    }   
});
var viewerAssets = new Viewer(document.getElementById('J-box-order-assets'),{
    url:"data-original",
    show:function(){
        viewerAssets.update();  
    }   
}); 

var viewerFamily = new Viewer(document.getElementById('J-box-order-family'),{
    url:"data-original",
    show:function(){
        viewerFamily.update();      
    }   
});
var viewerSign = new Viewer(document.getElementById('J-box-order-sign'),{
    url:"data-original",
    show:function(){
        viewerSign.update();    
    }   
});
var viewerFlowing = new Viewer(document.getElementById('J-box-order-flowing'),{
    url:"data-original",
    show:function(){
        viewerFlowing.update();     
    }   
});
var viewerOther = new Viewer(document.getElementById('J-box-order-other'),{
    url:"data-original",
    show:function(){
        viewerOther.update();   
    }   
});
var viewerContract = new Viewer(document.getElementById('J-box-order-contract'),{
    url:"data-original",
    show:function(){
        viewerContract.update();    
    }   
});
</script>
<?php include $this->Render('footer.php'); die();?>